from peewee import Model, TextField, IntegerField
from src.config.database_peewee import pg

class Admin(Model):
    id = TextField(primary_key=True)
    name = TextField()
    phone = TextField()

    class Meta:
        database = pg
        schema = 'cricetubar'
        table_name = 'user'  # 注意引号和schema的写法
